<%@ Page Language="C#" Inherits="VolunteerTracker.default" EnableEventValidation="false" %>

<%-- Here we must use transitional because its easier --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>default</title>
	 
	<style type="text/css" media="all">
  
	</style> 
</head>
<body background-color="#023450" style='background: url(./bg.jpg) no-repeat top left; background-color: #0000FF'>
<form id="form1" runat="server">

<table style="padding: 150px; position: absolute; left: 30"><tr><td>
	<asp:LoginView ID="LoginView1" Runat="server">
		<LoggedInTemplate>
			<asp:LoginName ID="lgnName" Runat="server" FormatString="Welcome {0}" /><br />
		</LoggedInTemplate>
		<AnonymousTemplate>
			<a href="./login.aspx">Login</a> &nbsp; <a href="./CreateAccount.aspx">Create new account</a>
		</AnonymousTemplate>
	</asp:LoginView>
	<a href="./default.aspx" title="Home">Home</a>
	<a href="./admin.aspx" title="Home">Admin</a>
	<a href="http://code.google.com/p/volunteer-tracker/" title="Home">Help develop this page</a>
</td></tr><tr><td>
	<iframe src="http://www.google.com/calendar/embed?showTitle=0&amp;showNav=0&amp;showDate=0&amp;showTabs=0&amp;showCalendars=0&amp;height=500&amp;wkst=1&amp;bgcolor=%23000099&amp;src=9o5ku84joov3pdkv5fiujkaqh0%40group.calendar.google.com&amp;color=%231B887A&amp;ctz=America%2FNew_York" 
		style=" border-width:0 " width="500" height="500" frameborder="0" scrolling="no"></iframe>
</td><td>
	<table>
		<asp:Repeater id="rptEvents" OnItemDataBound="onDataBound" runat="server">
			<itemtemplate>
				<tr><td>
					<asp:Label id="lblAttend" Text=<%# DataBinder.Eval(Container.DataItem, "name") %> runat="server" />
				</td><td>
					<asp:Label id="lblAttendDate" Text=<%# DataBinder.Eval(Container.DataItem, "date") %> runat="server" />
				</td><td>
					<asp:Button id="btnAttend" OnClick="rptEvents_ItemCommand" text="Attend" runat="server" />
				</td></tr>
			</itemtemplate>
		</asp:Repeater>
	</table>
<asp:Label ID="lblError" runat="server" />
</td></tr></table>
</form>
</body>
</html>